package com.example.hospitallogin.interceptor;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author qiancheng@cqxyy.net
 * @date 2022/9/8
 */
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class DictType {
    /**
     * 字段
     */
    private String code;
    /**
     * 字段解析
     */
    private String type;

    public DictType(String code, String type) {
        this.code = code;
        this.type = type;
    }

    public DictType() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
